import request from '@/utils/request'

export function getHouseGeocode(query) {
	return request({
		url: '/common/geocode',
		method: 'GET',
		params: query
	})
}

export function loadVillages(id) {
	return request({
		url: '/system/area/get-by-parent?id=' + id,
		method: 'GET'
	})
}